package com.dhcc.bpm.business.papc.service.impl;

import com.dhcc.bpm.business.papc.entity.BatchRecord;
import com.dhcc.bpm.business.papc.mapper.BatchRecordMapper;
import com.dhcc.bpm.business.papc.service.IBatchRecordService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/**
 * 批量任务记录表  服务实现类
 *
 * @author zhanghang
 * @since 2020-12-18
 */
@Service
public class BatchRecordServiceImpl extends BaseServiceImpl<BatchRecordMapper, BatchRecord> implements IBatchRecordService {

	@Override
	public List<BatchRecord> selectZjywBatchRecordList(BatchRecord zjywBatchRecord) {
		return baseMapper.selectZjywBatchRecordList(zjywBatchRecord);
	}
	@Override
	public List<Map<String, Object>> selectZjywBatchRecordGroupDate(BatchRecord zjywBatchRecord) {
		return baseMapper.selectZjywBatchRecordGroupDate(zjywBatchRecord);
	}

	@Override
	public List<Map<String, Object>> selectZjywBatchRecordGroupDates(String begDate,String endDate) {
		return baseMapper.selectZjywBatchRecordGroupDates( begDate, endDate);
	}

	@Override
	public Integer selectZjywBatchRecordByTotalCalls(BatchRecord zjywBatchRecord) {
		return baseMapper.selectZjywBatchRecordByTotalCalls(zjywBatchRecord);
	}
}
